import { shuffleArray } from '@/utils'

const nodes = new Array(35).fill(0).map((item, index) => ({
  id: String(index),
  label: String(index)
}))

const nodesShuffled = shuffleArray(nodes)
const edges = nodesShuffled.map((item, index) => ({
  source: String(index),
  target: nodes[index].id || '1'
}))

export default {
  // 点集合
  nodes: nodes,
  // 边集合
  edges: edges
}
